package gonz.grabber;

import java.util.List;
import java.util.Properties;

public class Item {
    private String id;
    private String name;
    private String link;
    private List<String> imgLinks;
    private Properties properties;

    public Item(String id, String name, String link) {
        this.id = id;
        this.name = name;
        this.link = link;
        this.properties = new Properties();
    }

    public Item(String id, String name, String link, Properties properties) {
        this(id, name, link);
        this.properties = properties;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLink() {
        return link;
    }

    public List<String> getImgLinks() {
        return imgLinks;
    }

    public void setImgLinks(List<String> imgLinks) {
        this.imgLinks = imgLinks;
    }

    @Override
    public String toString() {
        return "Item{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", link='" + link + '\'' +
                '}';
    }

    public String getId() {
        return id;
    }

    public Properties getProperties() {
        return properties;
    }
}
